﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace NewCodeAPI.Models;

/// <summary>
/// 答题卡
/// </summary>
public partial class AnswerSheet
{
    /// <summary>
    /// 试卷ID
    /// </summary>
    [Key]
    public int PaperId { get; set; }

    public int PlanId { get; set; }

    /// <summary>
    /// 题目ID
    /// </summary>
    public int QuestionId { get; set; }

    /// <summary>
    /// 考生ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 考生类型（1-招生模块，2-教学模块），不同类型，对应不同的人员表
    /// </summary>
    public string UserType { get; set; } = null!;

    /// <summary>
    /// 考生答案（多选题和多空填空题，答案之间使用#$#来分隔）
    /// </summary>
    public string? Answer { get; set; }

    /// <summary>
    /// 答题时间（YYYY-MM-DD HH-mm-SS）
    /// </summary>
    public string AnswerTime { get; set; } = null!;

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 考生此题得分
    /// </summary>
    public float? Score { get; set; }

    /// <summary>
    /// 阅卷人（系统或人）
    /// </summary>
    public string? JudgePerson { get; set; }

    /// <summary>
    /// 阅卷时间（YYYY-MM-DD HH-mm-SS）
    /// </summary>
    public string? JudgeTime { get; set; }
}
